package QL;

import java.util.Map;

public class ButlerGameGetRoomPlatformDetailRequest implements IQLRequest
{
    /// <summary>
    /// 区服Id
    /// </summary>
    public long ZoneId;

    /// <summary>
    /// 游戏Id：1捕鱼 2水浒传 3拉霸机 4打地鼠 5斗地主 6抢红包 7龙虎斗
    /// </summary>
    public long GameId;

    /// <summary>
    /// 玩法Id
    /// </summary>
    public long SiteId;

    /// <summary>
    /// 查看哪个服务器？0代表所有服务器
    /// 目前该字段仅对捕鱼有意义
    /// </summary>
    public long ServerId;

    /// <summary>
    /// 查看哪个房间？0代表所有房间
    /// </summary>
    public long ConfigId;

    /// <summary>
    /// 查看哪个台子？-1代表所有台子
    /// </summary>
    public long PlatformId;

    @Override
    public String GetApiName()
    {
        return "butler.game.get.room.platform.detail";
    }

    @Override
    public void Validate()
    {
    }

    @Override
    public void AddParameters(Map<String, String> map)
    {
        map.put("zone_id", String.valueOf(ZoneId));
        map.put("game_id", String.valueOf(GameId));
        map.put("site_id", String.valueOf(SiteId));
        map.put("server_id", String.valueOf(ServerId));
        map.put("config_id", String.valueOf(ConfigId));
        map.put("platform_id", String.valueOf(PlatformId));
    }
}
